DO

Syntax: DO [device_] filename
Location: Toolkit II

This command allows you to execute a set of commands stored in a file (acting as an overlay). It is intended to perform tasks dictated by a numberless file, which enables you to do many things whilst releasing memory once the tasks have been performed.

NOTE:
On at least v2.28-v2.49 of Toolkit II, MERGE appears to work much better than DO at executing numberless files. If DO is entered as a direct command, none of the numberless lines are executed (compare MERGE which executes the first line), and if DO is part of a program, only the first line is executed (compare MERGE which executes all of the commands in the numberless file).
This is fixed under SMS.

CROSS-REFERENCE:
Please refer to MERGE. SMS allows you to EXECute a SuperBASIC program, letting it run in the background and perform functions on supplied data using pipes or channels (see EX).
